<?php

use Illuminate\Database\Seeder;
use Illuminate\Database\Eloquent\Model;

class BrandsTableSeeder extends Seeder{
    /**
     * 运行数据库填充
     *
     * @return void
     */
    public function run()
    {
        DB::table('brands')->insert([
            'name' => str_random(10),
            'desc' => str_random(10),
            'url' => str_random(10),
            'thumb' => str_random(10),
        ]);
    }
}


